package com.todo.content.iface.backend.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/16 09:44
 * @description
 */
@Data
@Schema(title = "多条件查询话题信息出参", description = "多条件查询话题信息出参")
public class QueryContentTopicByConditionResp {
    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(title = "主键id", description = "主键id")
    private Long id;
    /**
     * 话题名称
     */
    @Schema(title = "话题名称", description = "话题名称")
    private String name;
    /**
     * 话题类型
     * TopicTypeEnum
     */
    @Schema(title = "话题类型", description = "话题类型")
    private Integer topicType;
    /**
     * 背景图
     */
    @Schema(title = "背景图", description = "背景图")
    private String backendImg;
    /**
     * 浏览量
     */
    @Schema(title = "浏览量", description = "浏览量")
    private Integer seeCount;
    /**
     * 参与量
     */
    @Schema(title = "参与量", description = "参与量")
    private Integer joinCount;
    /**
     * 内容量
     */
    @Schema(title = "内容量", description = "内容量")
    private Integer contentCount;
    /**
     * 是否开启
     */
    @Schema(title = "是否开启", description = "是否开启")
    private Integer isEnable;
    /**
     * 创建人
     */
    @Schema(title = "创建人", description = "创建人")
    private String createUser;
}
